package com.summer.shopping.domain.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

@Data
public class PageDto {

    private Integer pageNum;
    private Integer pageSize;


    public <T> Page<T> getMybatisPage(Class<T> c){
        Page<T> page = new Page<>(pageNum, pageSize);
        return page;
    }
}
